//===============================================================================
// Microsoft patterns & practices Enterprise Library Contribution
// Resource Application Block
//===============================================================================

using System;

namespace EntLibContrib.Resource.Instrumentation
{
	/// <summary>
	/// Provides data for the <see cref="ResourceInstrumentationProvider.ResourceInitialized"/> event.
	/// </summary>
	public class ResourceInitializedEventArgs : EventArgs
	{
		#region Fields
		private long totalEntriesCount;
		#endregion

		#region Properties
		/// <summary>
		/// Gets the total number of entries in resource.
		/// </summary>
		public long TotalEntriesCount
		{
			get { return totalEntriesCount; }
		}
		#endregion

		#region Construction
		/// <summary>
		/// Initializes a new instance of the <see cref="ResourceAccessedEventArgs"/> class.
		/// </summary>
		/// <param name="totalEntriesCount">The total entries count.</param>
		public ResourceInitializedEventArgs(long totalEntriesCount)
		{
			this.totalEntriesCount = totalEntriesCount;
		}
		#endregion
	}
}